package com.example.lin.sizeadaptetion;

import android.app.Application;

import com.zhy.autolayout.config.AutoLayoutConifg;

public class MyApplication extends Application {
    @Override
    public void onCreate() {
        super.onCreate();

        //AutoLayout默认是以布局容器的大小作为缩放基准.
        // 设置AutoLayout以 设备的分辨率作为缩放的基准.
        AutoLayoutConifg.getInstance().useDeviceSize();


    }
}
